package cn.tedu.egweibo0416.mapper;

import cn.tedu.egweibo0416.pojo.dto.UserLoginParam;
import cn.tedu.egweibo0416.pojo.entity.User;
import cn.tedu.egweibo0416.pojo.vo.UserVO;

import javax.validation.constraints.Size;

public interface UserMapper {
    int selectUserByUsername(String username);

    int insertUser(User user);

    UserVO selectUserByUsernameAndPassword(UserLoginParam userLoginParam);

    UserVO selectUserVO(Long id);
}
